<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>strategy::buffer::side_straight</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="Chapter 1. Geometry">
<link rel="up" href="../strategies.html" title="Strategies">
<link rel="prev" href="strategy_buffer_geographic_point_circle.html" title="strategy::buffer::geographic_point_circle">
<link rel="next" href="strategy_centroid_average.html" title="strategy::centroid::average">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="strategy_buffer_geographic_point_circle.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../strategies.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="strategy_centroid_average.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="geometry.reference.strategies.strategy_buffer_side_straight"></a><a class="link" href="strategy_buffer_side_straight.html" title="strategy::buffer::side_straight">strategy::buffer::side_straight</a>
</h4></div></div></div>
<p>
          <a class="indexterm" name="idm45246411080608"></a><a class="indexterm" name="idm45246411079920"></a><a class="indexterm" name="idm45246411079232"></a>
Let the buffer use straight sides along segments (the default)
        </p>
<h6>
<a name="geometry.reference.strategies.strategy_buffer_side_straight.h0"></a>
          <span class="phrase"><a name="geometry.reference.strategies.strategy_buffer_side_straight.description"></a></span><a class="link" href="strategy_buffer_side_straight.html#geometry.reference.strategies.strategy_buffer_side_straight.description">Description</a>
        </h6>
<p>
          This strategy can be used as SideStrategy for the buffer algorithm. It
          is currently the only provided strategy for this purpose
        </p>
<h6>
<a name="geometry.reference.strategies.strategy_buffer_side_straight.h1"></a>
          <span class="phrase"><a name="geometry.reference.strategies.strategy_buffer_side_straight.synopsis"></a></span><a class="link" href="strategy_buffer_side_straight.html#geometry.reference.strategies.strategy_buffer_side_straight.synopsis">Synopsis</a>
        </h6>
<p>
</p>
<pre class="programlisting"><span class="keyword">class</span> <span class="identifier">strategy</span><span class="special">::</span><span class="identifier">buffer</span><span class="special">::</span><span class="identifier">side_straight</span>
<span class="special">{</span>
  <span class="comment">// ...</span>
<span class="special">};</span>
</pre>
<p>
        </p>
<h6>
<a name="geometry.reference.strategies.strategy_buffer_side_straight.h2"></a>
          <span class="phrase"><a name="geometry.reference.strategies.strategy_buffer_side_straight.header"></a></span><a class="link" href="strategy_buffer_side_straight.html#geometry.reference.strategies.strategy_buffer_side_straight.header">Header</a>
        </h6>
<p>
          <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">strategies</span><span class="special">/</span><span class="identifier">cartesian</span><span class="special">/</span><span class="identifier">buffer_side_straight</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
        </p>
<h6>
<a name="geometry.reference.strategies.strategy_buffer_side_straight.h3"></a>
          <span class="phrase"><a name="geometry.reference.strategies.strategy_buffer_side_straight.example"></a></span><a class="link" href="strategy_buffer_side_straight.html#geometry.reference.strategies.strategy_buffer_side_straight.example">Example</a>
        </h6>
<p>
          See the examples for other buffer strategies, for example <a class="link" href="strategy_buffer_join_round.html" title="strategy::buffer::join_round">join_round</a>
        </p>
<h6>
<a name="geometry.reference.strategies.strategy_buffer_side_straight.h4"></a>
          <span class="phrase"><a name="geometry.reference.strategies.strategy_buffer_side_straight.see_also"></a></span><a class="link" href="strategy_buffer_side_straight.html#geometry.reference.strategies.strategy_buffer_side_straight.see_also">See
          also</a>
        </h6>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">
              <a class="link" href="../algorithms/buffer/buffer_7_with_strategies.html" title="buffer (with strategies)">buffer
              (with strategies)</a>
            </li></ul></div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2009-2021 Barend Gehrels,
      Bruno Lalande, Mateusz Loskot, Adam Wulkiewicz, Oracle and/or its affiliates<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="strategy_buffer_geographic_point_circle.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../strategies.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="strategy_centroid_average.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
